package com.ita.processor;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Scanner;

public class ClientProcessor {

	public void processScp(InputStream in, OutputStream out, String cmd) throws IOException {
		
		System.out.println(cmd);
		out.write(cmd.getBytes());
		Scanner scanner = new Scanner(in);
		String tip=scanner.nextLine();
		System.out.println(tip);
		String react=scanner.nextLine();
		out.write(react.getBytes());
		String tip1=scanner.nextLine();
		System.out.println(tip);
	}

}
